package com.wm.blog_gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/***
 * @ClassName: JwtProperties
 * @Description: jwt配置类读取
 * @Author: wm_yu
 * @Create_time: 14:35 2020-3-31
 */
@Configuration
@Data
@ConfigurationProperties(prefix = "jwt")
public class JwtProperties {
    private String tokenHeader;
    private String secret;
    private Integer expiration;

}
